/*
 * This software was designed and created by Jason Carroll.
 * Copyright (c) 2002, 2003, 2004 Jason Carroll.
 * The author can be reached at jcarroll@cowsultants.com
 * ITracker website: http://www.cowsultants.com
 * ITracker forums: http://www.cowsultants.com/phpBB/index.php
 *
 * This program is free software; you can redistribute it and/or modify
 * it only under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package com.xx.pmis.web.servlets;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServlet;

import com.xx.pmis.services.PMISServices;
import com.xx.pmis.web.util.ServletContextUtils;

/**
 * TODO: Rewrite Javadocs here This needs documentation. Is it still used? What
 * is it used for? How? It is referenced by AttachementDownloadController,
 * (@deprecated Use
 * org.itracker.web.actions.admin.attachment.DownloadAttachmentAction instead.)
 * ReportChartController, ReportDownloadController
 * 
 * @author ready
 * 
 */
public abstract class GenericController extends HttpServlet {
	private static final long serialVersionUID = 1L;

	public GenericController() {
		super();
	}

	protected PMISServices getPMISServices(ServletContext context) {
		return ServletContextUtils.getPMISServices();
	}

}
